if [ -z `which flameshot` ]; then  
    # sudo apt install -y software-properties-common apt-transport-https 
    # gnome-extensions-app  extension-manager
    # sudo apt install -y gnome-tweaks gnome-shell-extensions gnome-shell-extension-manager
    sudo apt install -y variety vlc flameshot simplescreenrecorder photoflare ffmpeg peek pdftk okular
    sudo apt install -y libfuse2 inotify-tools
    sudo apt install -y hwinfo hardinfo cpu-x

fi

dconf write /org/gnome/nautilus/list-view/default-visible-columns "['name', 'size', 'date_created', 'date_modified_with_time', 'starred']"

dconf write /org/gnome/shell/extensions/dash-to-dock/show-mounts-only-mounted 'true'
#gsettings set org.gnome.shell.extensions.dash-to-dock show-mounts-only-mounted true

source ~/vimrc/linux_config/sub01_beyond_compare.sh


#  if [ -z `which FoxitReader` ]; then  
#     wget -P ~/Downloads wget https://cdn07.foxitsoftware.cn/pub/foxit/reader/desktop/linux/2.x/2.4/en_us/FoxitReader.enu.setup.2.4.5.0727.x64.run.tar.gz
#     tar xvf ~/Downloads/FoxitReader.enu.setup.2.4.5.0727.x64.run.tar.gz -C ~/Downloads
#     sudo ~/Downloads/FoxitReader.enu.setup.2.4.5.0727\(rb70e8df\).x64.run
# 
#     # 在～/.profile和/etc/profile中加入环境变量，然后重启，解决foxit无法输入中文的问题
#     #  export GTK_IM_MODULE=fcitx
#     #  export QT_IM_MODULE=fcitx #最重要的一句
#     #  export XMODIFIERS=@im=fcitx
#  fi

wget -P ~/Downloads https://go-to-zlibrary.se/soft/zlibrary-setup-latest.deb
sudo dpkg -i ~/Downloads/zlibrary-setup-latest.deb

# wget --timeout=3 --tries=3 -P ~/Downloads https://github.com/lencx/ChatGPT/releases/download/v1.1.0/ChatGPT_1.1.0_linux_x86_64.deb
# sudo dpkg -i ~/Downloads/ChatGPT_1.1.0_linux_x86_64.deb

# wget --timeout=3 --tries=3 -P ~/Downloads https://github.com/pot-app/pot-desktop/releases/download/2.7.3/pot_2.7.3_amd64.deb
# sudo dpkg -i ~/Downloads/pot_2.7.3_amd64.deb

wget -P ~/Downloads "https://cndl.synology.cn/download/Utility/SynologyDriveClient/3.4.0-15724/Ubuntu/Installer/synology-drive-client-15724.x86_64.deb?model=DS918%2B&bays=4&dsm_version=7.2.1&build_number=69057"
sudo dpkg -i ~/Downloads/synology-drive-client-15724.x86_64.deb
